How to calculate width of Beam